package cn.wolfcode.trip.base.util;

public class StringUtil {
	private StringUtil() {}
	// 判断是否为空(即''或null)
	public static boolean hasLength(String str) {
		return str != null && str.trim().length() > 0;
	}
}
